<template>
	<view class="swiperbox">
		<swiper class="swiper" circular indicator-dots autoplay :interval="5000"
			:duration="500">
			<swiper-item v-for="(item,index) in img" :key="index">
				<view class="swiper-item uni-bg-red">
					<img :src="item">
				</view>
			</swiper-item>
		</swiper>
	</view>
</template>

<script>
	export default{
		props:["img"]
	}
</script>

<style scoped>
	swiper{
		width: 100%;
		height: 400rpx;
		}
	.swiperbox{
		width: 100%;
		height: 400rpx;
	}
	img{
		width: 100%;
	}
</style>